package com.javaone;

public class Demo4 {
    public static void main(String[] args) {
        int i=10; //4 int
        double num=15; // 8 double
        //类型装换：自动类型转换
       /* int ddd=(int)num+i;
        double num1=12.5;
        System.out.println(num+i);*/
        int num1=12;
       /* System.out.println(num+num1);
        System.out.println(num-num1);
        System.out.println(num*num1);
        System.out.println(num/num1);*/
        //System.out.println(num%num1);
        num1++;
        System.out.println(num1);
        num1--;
        System.out.println(num1);
    }
}
